/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  font-family: "微软雅黑","Helvetica Neue", Helvetica, Arial, sans-serif;
  background-image:url(../images/bg.jpg);
  background-repeat:repeat-x repeat-y;
}

h1,h2,h3,h4,h5,h6 {  
  font-family: "微软雅黑","Helvetica Neue", Helvetica, Arial, sans-serif;
}
hr {
	border-top:1px solid #999;
	margin-top:10px;
	margin-bottom:10px;
}
.black {
  color:#000;
}
.tab{
	margin-top: 20px;
	margin-bottom: 20px;
}
.productDetail {
	height: 100px;
	text-indent:2em;
	/*
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis; 
	*/
}
.text-indent2em {
  text-indent:2em;
}
.productItem .thumbnail:hover {
  display: inline-block;
  display: block;
  height: auto;
  max-width: 100%;
  padding: 4px;
  line-height: 1.428571429;
  background-color: #ffffff;
  
  -moz-box-shadow: 0px 0px 8px #2e86b4,-0px -0px 8px #2e86b4; /* 老的 Firefox */
  box-shadow: 0px 0px 8px #2e86b4,-0px -0px 8px #2e86b4;
  
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

.contactUsItem {
	background-color:#f2efea;
	border:none;
}
/*
.thumbnail .caption{
	height:200px;
}
*/
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */


.navbar {
  margin-bottom:0px;
  border-radius: 0px;
}
.navbar-wrapper .navbar {
  border-radius: 0px;
}
.navbar-inverse .navbar-brand {
  color:#FFFFFF;
}
.navbar-fixed-top {
  border-width: 0 0 0px;
}

.navbar-inverse .navbar-nav > li > a {
  color:#FFFFFF;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
  background-color: #2375A4;
}

.navbar-inverse {
  background-color: inherit;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0px;

  /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
  margin-top:50px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  /*background-color: #777;*/
}
.carousel-inner > .item > img {
  /*position: absolute;
  top: 0px;
  left: 0;
  */
  /*min-width: 80%;*/
  position:relative;
  top:0px;
  height: 500px;
}

.tab .row {
  margin-top:20px;
}

/* TABS
-------------------------------------------------- */
/*
.nav-tabs li {
	background-color: #2e86b4;
}
.nav-tabs .active {
	background-color: #231f20;
}
*/
/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  text-align: center;
  margin-bottom: 20px;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-left: 10px;
  margin-right: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-left: 0;
    padding-right: 0;
  }

  /* Navbar positioning foo */
  /*
  .navbar-wrapper {
    margin-top: 20px;
  }*/
  /* The navbar becomes detached from the top, so we round the corners */
  /*
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }*/

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

.footer-nav{
	background-color:#414143;
	border:none;
}
#footer-left .navbar-default .navbar-nav > li > a{
  color:#FFFFFF;
}
#footer-left .navbar-default .navbar-nav > .active > a,
#footer-left .navbar-default .navbar-nav > .active > a:hover,
#footer-left .navbar-default .navbar-nav > .active > a:focus {
  color: #555555;
  background-color: #414143;
}

#footer-right {
	padding:20px;
}

.footer-right-item{
	padding-top: 20px;
}

.panel-default > .panel-heading {
	color:#FFF;
	background-color: #2375A4;
	border-color:#DDD;
}

#toTop {
	width:82px;
	height:82px;
	background-image:url(../images/to_top.png);
	/*border:1px solid #ccc;
	background:#f7f7f7;
	text-align:center;
	padding:5px;*/
	position:fixed; /* this is the magic */
	bottom:10px; /* together with this to put the div at the bottom*/
	right:10px;
	cursor:pointer;
	display:none;
	color:#333;
	font-family:verdana;
	font-size:11px;
}